#ifndef LINESANDPOINTS_H
#define LINESANDPOINTS_H

#include <mapcontrol.h>
#include <osmmapadapter.h>
#include <maplayer.h>
#include <imagepoint.h>
#include <circlepoint.h>
#include <linestring.h>
using namespace qmapcontrol;
class LinesAndPoints : public QWidget
{
    Q_OBJECT
public:
    LinesAndPoints(QWidget *parent = 0);
    ~LinesAndPoints();

private:
    MapControl *mc;
    void addZoomButtons();

public slots:
    void geometryClicked(Geometry *geom, QPoint coord_px);
    void resizeEvent(QResizeEvent *qEvent);

protected:
    void keyPressEvent(QKeyEvent *evnt);
};

#endif
